package com.dc.model;

import java.util.Date;

public class Client {
    // 客户id
    private Integer client_id;
    // 客户名
    private String client_name;
    // 客户名拼音
    private String py_client_name;
    // 手机号
    private String phone;
    // 地址
    private String address;
    // 地址拼音
    private String py_address;
    // 合作类型
    private Integer type;
    // 创建时间
    private Date create_time;
    // 更新时间
    private Date update_time;
    // 乐观锁
    private Integer version;
    // 是否删除
    private Integer is_delete;

    public Integer getClient_id() {
        return client_id;
    }

    public void setClient_id(Integer client_id) {
        this.client_id = client_id;
    }

    public String getClient_name() {
        return client_name;
    }

    public void setClient_name(String client_name) {
        this.client_name = client_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    public String getPy_client_name() {
        return py_client_name;
    }

    public void setPy_client_name(String py_client_name) {
        this.py_client_name = py_client_name;
    }

    public String getPy_address() {
        return py_address;
    }

    public void setPy_address(String py_address) {
        this.py_address = py_address;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Client{");
        sb.append("client_id=").append(client_id);
        sb.append(", client_name='").append(client_name).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", type=").append(type);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", version=").append(version);
        sb.append(", is_delete=").append(is_delete);
        sb.append('}');
        return sb.toString();
    }
}
